package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.CountTimesVo;
import com.zzyl.vo.ReservationVo;

import java.util.List;

public interface ReservationService {
    Integer selectReservate();

    List<CountTimesVo> checkRemainderNumber(Long time);

    void save(ReservationDto reservationDto);

    PageResponse<ReservationVo> selectByPage(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);
}
